package com.xqboss.apps.domain.marketing;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;

import com.xqboss.apps.domain.BaseTable;
import com.xqboss.apps.enums.user.UserWalletEnum;
import com.xqboss.apps.enums.user.WalletChangeDirectionEnum;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 空投-材料(热豆/扳手...)记录
 * </p>
 *
 * @author admin
 * @since 2024-02-22
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="MarketingAirdropMaterialRecord对象", description="空投-材料(热豆/扳手...)记录")
public class MarketingAirdropMaterialRecord extends BaseTable implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "空投材料记录主键")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "空投材料id")
    private Long airdropMaterialId;

    @ApiModelProperty(value = "用户id")
    private Long userId;

    @ApiModelProperty(value = "2热豆，10扳手")
    private UserWalletEnum type;

    @ApiModelProperty(value = "数量金额")
    private BigDecimal amount;

    @ApiModelProperty("变动方向(1-入 2-出)")
    private WalletChangeDirectionEnum direction;
}
